<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script type="text/javascript">
        window.onload = function () {
            var oUl = document.getElementById('list');
            var aList = ['美人鱼', '疯狂动物城', '魔兽', '美国队长三', '湄公河行动'];
            var iLen = aList.length;
            var sTr = '';


            for (var i = 0; i < iLen; i++) {
                sTr += '<li>' + aList[i] + '</li>';
            }
            //alert(sTr);
            oUl.innerHTML = sTr;

        }
    </script>
    <style type="text/css">
        .list {
            list-style: none;
            margin: 50px auto 0;
            width: 300px;
            height: 300px;

        }

        .list li {
            height: 60px;
            line-height: 60px;
            border-bottom: 1px solid #000000;
            font-size: 16px;
        }
    </style>


</head>

<body>
    <ul class="list" id="list">
        <!--         <li>美人鱼</li>
        <li>美人鱼</li>
        <li>美人鱼</li>
        <li>美人鱼</li>
        <li>美人鱼</li> -->
    </ul>

</body>

</html>